package com.zingrow.web.report.base;

public enum Cycle {
    DAY(1, "日"), WEEK(2, "周"), MONTH(3, "月");

    private Cycle(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    private Integer code;
    private String name;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

}
